package cn.gogpay.dcb.api.web.form;

import com.alibaba.fastjson.JSON;

import javax.validation.constraints.NotBlank;

/**
 * 二维码拉取记录
 *
 * @author huangting@gogpay.cn
 * @date 2020/1/7 19:18
 */
public class CountForm {
    @NotBlank(message = "卡号 不能为null")
    private String cardNo;
    @NotBlank(message = "电话 不能为null")
    private String phone;
    @NotBlank(message = "流水号 不能为null")
    private String requestNumber;
    @NotBlank(message = "验签串 不能为null")
    private String sign;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public String getRequestNumber() {
        return requestNumber;
    }

    public void setRequestNumber(String requestNumber) {
        this.requestNumber = requestNumber;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

}
